﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DAO;
using DTO;

namespace BUS
{
    public class ThongTinBUS
    {
        public DataTable LoaiChuyen()
        {
            ThongTinDAO TTDAO = new ThongTinDAO();
            DataTable dt = new DataTable();
            dt = TTDAO.LoaiChuyen();
            return dt;
        }

        public DataTable DiaDiem()
        {
            ThongTinDAO TTDAO = new ThongTinDAO();
            DataTable dt = new DataTable();
            dt = TTDAO.DiaDiem();
            return dt;
        }

        public DataTable LoaiGhe()
        {
            ThongTinDAO TTDAO = new ThongTinDAO();
            DataTable dt = new DataTable();
            dt = TTDAO.LoaiGhe();
            return dt;
        }
        public DataTable DoiTuong()
        {
            ThongTinDAO TTDAO = new ThongTinDAO();
            DataTable dt = new DataTable();
            dt = TTDAO.DoiTuong();
            return dt;
        }
        public DataTable GioiTinh()
        {
            ThongTinDAO TTDAO = new ThongTinDAO();
            DataTable dt = new DataTable();
            dt = TTDAO.GioiTinh();
            return dt;
        }
        public DataTable Ve()
        {
            ThongTinDAO TTDAO = new ThongTinDAO();
            DataTable dt = new DataTable();
            dt = TTDAO.Ve();
            return dt;
        }
        public DataTable DanhSachVeCanXuLy()
        {
            ThongTinDAO TTDAO = new ThongTinDAO();
            DataTable dt = new DataTable();
            dt = TTDAO.DanhSachVeCanXuLy();
            return dt;
        }
        public DataTable HienTrang()
        {
            ThongTinDAO TTDAO = new ThongTinDAO();
            DataTable dt = new DataTable();
            dt = TTDAO.HienTrang();
            return dt;
        }
        public DataTable ThongTinChuyenTau(ThongTinDTO _tt)
        {
            ThongTinDAO TTDAO = new ThongTinDAO();
            DataTable dt = new DataTable();
            dt = TTDAO.ThongTinChuyenTau(_tt);
            return dt;
        }
        public DataTable DanhSachCacNoiDiQua(ThongTinDTO _tt)
        {
            ThongTinDAO TTDAO = new ThongTinDAO();
            DataTable dt = new DataTable();
            dt = TTDAO.DanhSachCacNoiDiQua(_tt);
            return dt;
        }

        public DataTable ThongTinThanhToan(ThongTinDTO _tt)
        {
            ThongTinDAO TTDAO = new ThongTinDAO();
            DataTable dt = new DataTable();
            dt = TTDAO.ThongTinThanhToan(_tt);
            return dt;
        }

        public DataTable ThongTinMotVe(ThongTinDTO _tt)
        {
            ThongTinDAO TTDAO = new ThongTinDAO();
            DataTable dt = new DataTable();
            dt = TTDAO.ThongTinMotVe(_tt);
            return dt;
        }

        public DataTable ThemTraDoiVe(ThongTinDTO _tt)
        {
            ThongTinDAO TTDAO = new ThongTinDAO();
            DataTable dt = new DataTable();
            dt = TTDAO.ThemTraDoiVe(_tt);
            return dt;
        }

        public DataTable XuLyTraDoiVe(ThongTinDTO _tt)
        {
            ThongTinDAO TTDAO = new ThongTinDAO();
            DataTable dt = new DataTable();
            dt = TTDAO.XuLyTraDoiVe(_tt);
            return dt;
        }
        public DataTable CapNhatHienTrangVe(ThongTinDTO _tt)
        {
            ThongTinDAO TTDAO = new ThongTinDAO();
            DataTable dt = new DataTable();
            dt = TTDAO.CapNhatHienTrangVe(_tt);
            return dt;
        }
    }
}
